package org.example.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.mbg.model.TPositionRelation;
import org.example.mbg.model.TPositionRelationExample;

public interface TPositionRelationMapper {
    long countByExample(TPositionRelationExample example);

    int deleteByExample(TPositionRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TPositionRelation record);

    int insertSelective(TPositionRelation record);

    List<TPositionRelation> selectByExample(TPositionRelationExample example);

    TPositionRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TPositionRelation record, @Param("example") TPositionRelationExample example);

    int updateByExample(@Param("record") TPositionRelation record, @Param("example") TPositionRelationExample example);

    int updateByPrimaryKeySelective(TPositionRelation record);

    int updateByPrimaryKey(TPositionRelation record);
}